package com.eastfair.venueservice.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.venueservice.dto.WorkOvertimeConfigDTO;
import com.eastfair.venueservice.entity.WorkOvertimeConfig;
import com.eastfair.venueservice.vo.WorkOvertimeConfigVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 加班规则配置
 * </p>
 *
 * @author dq
 * @date 2022-10-19
 */
public interface WorkOvertimeConfigService extends SuperService<WorkOvertimeConfig> {

    /**
     * 查询加班规则配置.
     *
     * @param workOvertimeConfigDTO the work overtime config dto
     * @return the list
     */
    List<WorkOvertimeConfig> listWorkOvertimeConfig(WorkOvertimeConfigDTO workOvertimeConfigDTO);

    /**
     * 展会ID查询加班规则配置VO.
     *
     * @param exhibitionManageId the exhibition manage id
     * @return the by exhibition id
     */
    WorkOvertimeConfigVO getVOByExhibitionManageId(Long exhibitionManageId);

    /**
     * 展会ID查询加班规则配置VO.
     *
     * @param exhibitionManageId the exhibition manage id
     * @return the by exhibition id
     */
    WorkOvertimeConfig getByExhibitionManageId(Long exhibitionManageId);

    /**
     * 保存加班规则配置.
     *
     * @param workOvertimeConfigDTO the work overtime config dto
     * @return the boolean
     */
    WorkOvertimeConfig saveWorkOvertimeConfig(WorkOvertimeConfigDTO workOvertimeConfigDTO);

    /**
     * 更新加班规则配置.
     *
     * @param workOvertimeConfigDTO the work overtime config dto
     * @return the boolean
     */
    WorkOvertimeConfig updateWorkOvertimeConfig(WorkOvertimeConfigDTO workOvertimeConfigDTO);
}
